package cn.icatw.gulimall.seckill.scheduled;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;

/**
 * @author icatw
 * @date 2022/4/4
 * @email 762188827@qq.com
 * @apiNote
 */
@Slf4j
//@Component
//@EnableScheduling
public class HelloSchedule {
    @Scheduled(cron = "* * * * * ?")
    public void hello() {
        log.info("Hello");
    }
}
